<?php

class NodeAction extends CommonAction {

    public function _initialize() {
        parent::_initialize();
    }

    public function index() {
        $Node = M("Node");
        $rows = $Node->where('pid = 1')
                ->order('id desc')
                //->cache(true,'360000','','Node')
                ->select();
        
        $this->assign('rows', $rows);
        $this->display('index');
    }


}